/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Sie_invdis_usuariosadmin.java
 *
 * Created on 18/01/2014, 12:13:07 PM
 */

package sie_invdis;


import java.sql.*;
import javax.swing.*;

import javax.swing.JOptionPane;
import javax.swing.JTable;
import javax.swing.JTable.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Date;
import java.util.Calendar;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.text.*;
import javax.swing.JFrame;
import java.io.*;

import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.ui.RefineryUtilities;
import javax.swing.Timer;
/**
 *
 * @author michelle
 */
public class Sie_invdis_usuariosadmin extends javax.swing.JFrame {

     bd_conexion x = new bd_conexion();
    ResultSet rs = null;
    int sexo=0,controlcombo=0;

    private javax.swing.table.DefaultTableModel jtable_modelo_colaboradores;

    private SimpleDateFormat formateadoresta = new SimpleDateFormat("yyyy-MM-dd");
    /** Creates new form Sie_invdis_usuariosadmin */
    public Sie_invdis_usuariosadmin() {
        this.iniciar_modelo_usuarios();
        initComponents();
        this.loadcombo_nivel();
        this.loadcombo_tiendas();
        this.setTitle("S.I. Administracion Usuarios");
        this.loadcombodepa();
        controlcombo=1;

    }



    private void loadcombo_nivel()
 {
            try
            {
                rs = x.sieuno_executediversosv2("select * from x1usuario_catalogo(2,'','','') as (id smallint,descrip text,obs text);",variables_global.getconexiongral());
                while (rs.next())
                    {
                      this.jcmbx_ope_diavisita1.addItem(rs.getString("id")+":"+rs.getString("descrip"));
                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }

    private void loadcombo_nivel2()
    {
      try
            {
                rs = x.sieuno_executediversosv2("select * from x1usuario_catalogo(2,'','','') as (id smallint,descrip text,obs text);",variables_global.getconexiongral());
                while (rs.next())
                    {
                      this.jcmbx_ope_diavisita.addItem(rs.getString("id")+":"+rs.getString("descrip"));
                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }
private void iniciar_modelo_usuarios()
 {
        jtable_modelo_colaboradores=new javax.swing.table.DefaultTableModel();//Creo el modelo
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Status</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Nombre</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Usuario</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Departamento</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Tienda</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>F.Ingreso.</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>F.Ult. acceso</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Nivel</b></BODY></html>");
        jtable_modelo_colaboradores.addColumn("<html><BODY><b>Obs.</b></BODY></html>");
}
private void loadcombodepa(){
            try
            {
                  rs = x.sieuno_executediversosv2("select * from x1_supervision_tareas_departamentos() as (id smallint,descrip character varying(80));",variables_global.getconexiongral());
               while (rs.next())
                    {
                      this.jcmbx_departamento.addItem(rs.getString("id")+":"+rs.getString("descrip"));
                      this.jcmbx_departamento1.addItem(rs.getString("id")+":"+rs.getString("descrip"));
                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }

    private void carga_datos_empleadoform(int opcion,String textobusca)
    {
       //invoco al metodo que trae el recordset de datos
       //voy por el detalle del documento
        java.util.Date fechaestaeuropa=null;
        int encontro=0;
        String texto="select * from x1_supervision_empleados_actualiza("+opcion+",'"+textobusca+"') as (id integer,nombre character varying(50),nomapat character varying(50),nomamat character varying(50),dom_calle character varying(80),dom_colnia character varying(80),dom_pobla character varying(50),dom_codpost character varying(10),dom_codidenti character varying(20),id_tienventas integer,id_depart smallint,id_puesto smallint,id_status smallint,id_jefeinme smallint,id_tipojor smallint,fecha_nac text,fecha_alta text,fecha_baja text,rfc character varying(18),curp character varying(20),imss character varying(20),foto character varying(80),id_causabaja smallint,id_clasif smallint,id_sexo smallint,id_tiposan smallint,id_stadocivil smallint,id_sieuno integer,id_tipocon smallint,descri_depa character varying(80),descri_puesto text,descri_status character varying(25),descri_jorna character varying(25),descri_baja character varying(25),descri_clasif character varying(25),descri_sangre character varying(25),descri_stadocivil character varying(25),descri_contrato character varying(25),telefono character varying(50),email character varying(50),horae time,horas time,mincom smallint,hora2e time,hora2s time,diades smallint);";
         System.out.println(texto);
        try
            {
                rs = x.sieuno_executediversosv2(texto,variables_global.getconexiongral());
            while (rs.next())
                {
                   
                    this.jtf_oper_nombre1.setText(rs.getString("nombre")+" "+rs.getString("nomapat")+" "+rs.getString("nomamat"));

                    this.jtf_ope_telefono2.setText(rs.getString("id_depart"));
                    this.jtf_ope_observacion3.setText(rs.getString("descri_depa"));
                    this.jtf_ope_telefono1.setText(rs.getString("id_tienventas"));
                }
        }
        catch(Exception e)
        {
            System.out.println(e.getMessage());
        }

      }

    private void loadcombo_tiendas(){
           this.jcbx_tiendas.addItem("0:General");
           this.jcbx_tiendas1.addItem("0:General");
           try
            {
            rs = x.sieuno_executediversosv2("select * from x1venta_tiendasmichelle() as (descripcion character varying(35),idsieuno integer);",variables_global.getconexiongral());
               while (rs.next())
                    {
                      this.jcbx_tiendas.addItem(rs.getString("idsieuno")+":"+rs.getString("descripcion"));
                       this.jcbx_tiendas1.addItem(rs.getString("idsieuno")+":"+rs.getString("descripcion"));
                    }
             }
            catch(Exception e)
            {
                System.out.println(e.getMessage());
            }
    }

private void carga_datos_usuarios(int opcion,String busqueda)
 {
      
       while(jtable_modelo_colaboradores.getRowCount()>0)jtable_modelo_colaboradores.removeRow(0);
       Object[] fnewRow = new Object[9];
       int sihayhojacosto=0,registros=0;
       String texto="select * from x1usuario_catalogo("+opcion+",'"+busqueda+"','','') as (us character varying(20),nombre character varying(80),obs character varying(255),fechaa date,fechab date,iddep smallint,ultac timestamp,idniv smallint,idtienda integer,puesto smallint,idstatus smallint,idemp integer,desdepa character varying(80),desniv text,desstatus text)";
       System.out.println(texto);
       try
        {
           rs = x.sieuno_executediversosv2(texto,variables_global.getconexiongral());
            while (rs.next())
                {

                    fnewRow[0]=rs.getString("desstatus");
                    fnewRow[1]=rs.getString("nombre");
                    fnewRow[2]=rs.getString("us");
                    fnewRow[3]=rs.getString("iddep")+":"+rs.getString("desdepa");
                    fnewRow[4]=rs.getString("idtienda");

                    fnewRow[5]=this.fechaeuropea(rs.getString("fechaa"));
                       if (rs.getString("ultac")!= null)
                        {
                            fnewRow[6]=this.fechaeuropea(rs.getString("ultac").substring(0, 10))+" "+rs.getString("ultac").substring(10, 15);
                        }
                       else
                       {
                             fnewRow[6]="";
                       }
                       fnewRow[7]=rs.getString("idniv")+":"+rs.getString("desniv");
                       fnewRow[8]=rs.getString("obs");
                    jtable_modelo_colaboradores.addRow(fnewRow);
                    }
           }
        catch(Exception e)
        {
            System.out.println(e.getMessage());
        }
      
 }

private String  fechaeuropea(String fecha) {

         //resibe cadena de fecha en formato americano yyyy-MM-dd
        java.util.Date fechaestaeuropa=null;
       SimpleDateFormat formateadorestaeuropa = new SimpleDateFormat("dd-MM-yyyy");
       String cadenafecha="";
        try
         {
          fechaestaeuropa = formateadoresta.parse(fecha);
         }
        catch (ParseException e)
          {
             //Error, la cadena de texto no se puede convertir en fecha.
          }
       cadenafecha= formateadorestaeuropa.format(fechaestaeuropa);
       return cadenafecha;

    }
private void dioclickpersonal(java.awt.event.MouseEvent evt) {
        // TODO add your handling code here:
         //System.out.println("dio doble  click");
         int filaalmacenes = jtb_colaboradores_catalogo.getSelectedRow();

         this.jtf_ope_idcola.setText(jtable_modelo_colaboradores.getValueAt(filaalmacenes, 2).toString());
         this.jtf_oper_nombre.setText(jtable_modelo_colaboradores.getValueAt(filaalmacenes, 1).toString());
         this.jtf_ope_observacion.setText(jtable_modelo_colaboradores.getValueAt(filaalmacenes, 8).toString());
         this.jtf_ope_idtienda.setText(jtable_modelo_colaboradores.getValueAt(filaalmacenes, 4).toString());
         
          String arreglo_depa[]=jtable_modelo_colaboradores.getValueAt(filaalmacenes, 3).toString().split(":");
          this.jtf_ope_iddepart.setText(arreglo_depa[0]);
          this.jtf_ope_observacion5.setText(arreglo_depa[1]);
          this.jcmbx_ope_diavisita.removeAllItems();
          this.jcmbx_ope_diavisita.addItem(jtable_modelo_colaboradores.getValueAt(filaalmacenes, 7).toString());
          this.loadcombo_nivel2();

    }
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jScrollPane13 = new javax.swing.JScrollPane();
        jtb_colaboradores_catalogo = new javax.swing.JTable(){
            public boolean isCellEditable(int rowIndex, int mColIndex) {

                return false;

            }}
            ;
            jLabel21 = new javax.swing.JLabel();
            jcmbx_departamento = new javax.swing.JComboBox();
            jPanel12 = new javax.swing.JPanel();
            jLabel5 = new javax.swing.JLabel();
            jtf_ope_idcola = new javax.swing.JTextField();
            jtf_oper_nombre = new javax.swing.JTextField();
            jLabel6 = new javax.swing.JLabel();
            jtf_ope_observacion = new javax.swing.JTextField();
            jLabel13 = new javax.swing.JLabel();
            jdc_ope_fechaingreso = new com.toedter.calendar.JDateChooser();
            jLabel14 = new javax.swing.JLabel();
            jbtn_ope_guardar = new javax.swing.JButton();
            jcmbx_ope_diavisita = new javax.swing.JComboBox();
            jLabel16 = new javax.swing.JLabel();
            jbtn_ope_guardar2 = new javax.swing.JButton();
            jcbx_tiendas1 = new javax.swing.JComboBox();
            jLabel27 = new javax.swing.JLabel();
            jLabel22 = new javax.swing.JLabel();
            jtf_ope_idtienda = new javax.swing.JTextField();
            jtf_ope_observacion4 = new javax.swing.JTextField();
            jLabel23 = new javax.swing.JLabel();
            jtf_ope_iddepart = new javax.swing.JTextField();
            jtf_ope_observacion5 = new javax.swing.JTextField();
            jLabel24 = new javax.swing.JLabel();
            jcmbx_departamento1 = new javax.swing.JComboBox();
            jbtn_ope_guardar3 = new javax.swing.JButton();
            jPanel3 = new javax.swing.JPanel();
            jPanel13 = new javax.swing.JPanel();
            jLabel7 = new javax.swing.JLabel();
            jtf_ope_idcola1 = new javax.swing.JTextField();
            jtf_oper_nombre1 = new javax.swing.JTextField();
            jLabel8 = new javax.swing.JLabel();
            jLabel15 = new javax.swing.JLabel();
            jtf_ope_telefono1 = new javax.swing.JTextField();
            jtf_ope_observacion1 = new javax.swing.JTextField();
            jLabel18 = new javax.swing.JLabel();
            jbtn_ope_guardar1 = new javax.swing.JButton();
            jcmbx_ope_diavisita1 = new javax.swing.JComboBox();
            jLabel20 = new javax.swing.JLabel();
            jTextField1 = new javax.swing.JTextField();
            jLabel9 = new javax.swing.JLabel();
            jbtn_idbusca = new javax.swing.JButton();
            jLabel10 = new javax.swing.JLabel();
            jPasswordField1 = new javax.swing.JPasswordField();
            jLabel17 = new javax.swing.JLabel();
            jPasswordField2 = new javax.swing.JPasswordField();
            jLabel19 = new javax.swing.JLabel();
            jtf_ope_telefono2 = new javax.swing.JTextField();
            jtf_ope_observacion2 = new javax.swing.JTextField();
            jtf_ope_observacion3 = new javax.swing.JTextField();
            jLabel26 = new javax.swing.JLabel();
            jcbx_tiendas = new javax.swing.JComboBox();
            jMenuBar1 = new javax.swing.JMenuBar();
            jMenu1 = new javax.swing.JMenu();
            jmni_salir = new javax.swing.JMenuItem();
            jMenu2 = new javax.swing.JMenu();
            jMenuItem2 = new javax.swing.JMenuItem();

            setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
            setName("Form"); // NOI18N

            jTabbedPane1.setName("jTabbedPane1"); // NOI18N

            jPanel1.setName("jPanel1"); // NOI18N

            jPanel2.setName("jPanel2"); // NOI18N

            jScrollPane13.setName("jScrollPane13"); // NOI18N

            jtb_colaboradores_catalogo.setModel(this.jtable_modelo_colaboradores);
            jtb_colaboradores_catalogo.setName("jtb_colaboradores_catalogo"); // NOI18N
            jtb_colaboradores_catalogo.setRowHeight(24);
            jtb_colaboradores_catalogo.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jtb_colaboradores_catalogoMouseClicked(evt);
                    if(evt.getClickCount() >= 1)
                    {
                        dioclickpersonal(evt);
                    }
                }
            });
            jScrollPane13.setViewportView(jtb_colaboradores_catalogo);

            org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(sie_invdis.Sie_invdisApp.class).getContext().getResourceMap(Sie_invdis_usuariosadmin.class);
            jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
            jLabel21.setName("jLabel21"); // NOI18N

            jcmbx_departamento.setName("jcmbx_departamento"); // NOI18N
            jcmbx_departamento.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jcmbx_departamentoActionPerformed(evt);
                }
            });

            javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jScrollPane13, javax.swing.GroupLayout.DEFAULT_SIZE, 1033, Short.MAX_VALUE)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addComponent(jLabel21)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jcmbx_departamento, javax.swing.GroupLayout.PREFERRED_SIZE, 236, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(720, 720, 720))
            );
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel21)
                        .addComponent(jcmbx_departamento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(9, 9, 9)
                    .addComponent(jScrollPane13, javax.swing.GroupLayout.DEFAULT_SIZE, 224, Short.MAX_VALUE)
                    .addContainerGap())
            );

            jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel12.border.title"))); // NOI18N
            jPanel12.setName("jPanel12"); // NOI18N

            jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
            jLabel5.setName("jLabel5"); // NOI18N

            jtf_ope_idcola.setEditable(false);
            jtf_ope_idcola.setName("jtf_ope_idcola"); // NOI18N

            jtf_oper_nombre.setEditable(false);
            jtf_oper_nombre.setName("jtf_oper_nombre"); // NOI18N
            jtf_oper_nombre.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_oper_nombreActionPerformed(evt);
                }
            });

            jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
            jLabel6.setName("jLabel6"); // NOI18N

            jtf_ope_observacion.setToolTipText(resourceMap.getString("jtf_ope_observacion.toolTipText")); // NOI18N
            jtf_ope_observacion.setName("jtf_ope_observacion"); // NOI18N
            jtf_ope_observacion.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_observacionActionPerformed(evt);
                }
            });

            jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
            jLabel13.setName("jLabel13"); // NOI18N

            jdc_ope_fechaingreso.setDateFormatString(resourceMap.getString("jdc_ope_fechaingreso.dateFormatString")); // NOI18N
            jdc_ope_fechaingreso.setEnabled(false);
            jdc_ope_fechaingreso.setName("jdc_ope_fechaingreso"); // NOI18N

            jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
            jLabel14.setName("jLabel14"); // NOI18N

            jbtn_ope_guardar.setIcon(resourceMap.getIcon("jbtn_ope_guardar.icon")); // NOI18N
            jbtn_ope_guardar.setText(resourceMap.getString("jbtn_ope_guardar.text")); // NOI18N
            jbtn_ope_guardar.setName("jbtn_ope_guardar"); // NOI18N
            jbtn_ope_guardar.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jbtn_ope_guardarActionPerformed(evt);
                }
            });

            jcmbx_ope_diavisita.setName("jcmbx_ope_diavisita"); // NOI18N
            jcmbx_ope_diavisita.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jcmbx_ope_diavisitaActionPerformed(evt);
                }
            });

            jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
            jLabel16.setName("jLabel16"); // NOI18N

            jbtn_ope_guardar2.setIcon(resourceMap.getIcon("jbtn_ope_guardar2.icon")); // NOI18N
            jbtn_ope_guardar2.setText(resourceMap.getString("jbtn_ope_guardar2.text")); // NOI18N
            jbtn_ope_guardar2.setName("jbtn_ope_guardar2"); // NOI18N
            jbtn_ope_guardar2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jbtn_ope_guardar2ActionPerformed(evt);
                }
            });

            jcbx_tiendas1.setToolTipText(resourceMap.getString("jcbx_tiendas1.toolTipText")); // NOI18N
            jcbx_tiendas1.setName("jcbx_tiendas1"); // NOI18N
            jcbx_tiendas1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jcbx_tiendas1ActionPerformed(evt);
                }
            });

            jLabel27.setText(resourceMap.getString("jLabel27.text")); // NOI18N
            jLabel27.setName("jLabel27"); // NOI18N

            jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
            jLabel22.setName("jLabel22"); // NOI18N

            jtf_ope_idtienda.setEditable(false);
            jtf_ope_idtienda.setName("jtf_ope_idtienda"); // NOI18N
            jtf_ope_idtienda.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_idtiendaActionPerformed(evt);
                }
            });

            jtf_ope_observacion4.setEditable(false);
            jtf_ope_observacion4.setToolTipText(resourceMap.getString("jtf_ope_observacion4.toolTipText")); // NOI18N
            jtf_ope_observacion4.setName("jtf_ope_observacion4"); // NOI18N
            jtf_ope_observacion4.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_observacion4ActionPerformed(evt);
                }
            });

            jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
            jLabel23.setName("jLabel23"); // NOI18N

            jtf_ope_iddepart.setEditable(false);
            jtf_ope_iddepart.setName("jtf_ope_iddepart"); // NOI18N
            jtf_ope_iddepart.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_iddepartActionPerformed(evt);
                }
            });

            jtf_ope_observacion5.setEditable(false);
            jtf_ope_observacion5.setToolTipText(resourceMap.getString("jtf_ope_observacion5.toolTipText")); // NOI18N
            jtf_ope_observacion5.setName("jtf_ope_observacion5"); // NOI18N
            jtf_ope_observacion5.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_observacion5ActionPerformed(evt);
                }
            });

            jLabel24.setText(resourceMap.getString("jLabel24.text")); // NOI18N
            jLabel24.setName("jLabel24"); // NOI18N

            jcmbx_departamento1.setName("jcmbx_departamento1"); // NOI18N
            jcmbx_departamento1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jcmbx_departamento1ActionPerformed(evt);
                }
            });

            jbtn_ope_guardar3.setIcon(resourceMap.getIcon("jbtn_ope_guardar3.icon")); // NOI18N
            jbtn_ope_guardar3.setText(resourceMap.getString("jbtn_ope_guardar3.text")); // NOI18N
            jbtn_ope_guardar3.setName("jbtn_ope_guardar3"); // NOI18N
            jbtn_ope_guardar3.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jbtn_ope_guardar3ActionPerformed(evt);
                }
            });

            javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
            jPanel12.setLayout(jPanel12Layout);
            jPanel12Layout.setHorizontalGroup(
                jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel12Layout.createSequentialGroup()
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel12Layout.createSequentialGroup()
                            .addComponent(jLabel5)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_idcola, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_oper_nombre, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jLabel13)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_observacion, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanel12Layout.createSequentialGroup()
                            .addComponent(jLabel27)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jcbx_tiendas1, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jLabel24)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jcmbx_departamento1, javax.swing.GroupLayout.PREFERRED_SIZE, 236, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanel12Layout.createSequentialGroup()
                            .addComponent(jLabel22)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_idtienda, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_observacion4, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jLabel23)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_iddepart, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_observacion5, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanel12Layout.createSequentialGroup()
                            .addComponent(jLabel16)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jcmbx_ope_diavisita, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jLabel14)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jdc_ope_fechaingreso, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jbtn_ope_guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jbtn_ope_guardar2, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jbtn_ope_guardar3, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            );
            jPanel12Layout.setVerticalGroup(
                jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel12Layout.createSequentialGroup()
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel5)
                        .addComponent(jtf_ope_idcola, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jtf_oper_nombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel6)
                        .addComponent(jLabel13)
                        .addComponent(jtf_ope_observacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(9, 9, 9)
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel22)
                        .addComponent(jtf_ope_idtienda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jtf_ope_observacion4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel23)
                        .addComponent(jtf_ope_iddepart, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jtf_ope_observacion5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(jPanel12Layout.createSequentialGroup()
                            .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jLabel16)
                                .addComponent(jcmbx_ope_diavisita, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                        .addComponent(jLabel14)
                        .addComponent(jdc_ope_fechaingreso, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jbtn_ope_guardar)
                            .addComponent(jbtn_ope_guardar2)
                            .addComponent(jbtn_ope_guardar3)))
                    .addGap(25, 25, 25)
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel27)
                        .addComponent(jcbx_tiendas1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel24)
                        .addComponent(jcmbx_departamento1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            );

            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(279, Short.MAX_VALUE))
                .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            );
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jPanel12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            );

            jTabbedPane1.addTab(resourceMap.getString("jPanel1.TabConstraints.tabTitle"), jPanel1); // NOI18N

            jPanel3.setName("jPanel3"); // NOI18N

            jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder(resourceMap.getString("jPanel13.border.title"))); // NOI18N
            jPanel13.setName("jPanel13"); // NOI18N

            jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
            jLabel7.setName("jLabel7"); // NOI18N

            jtf_ope_idcola1.setName("jtf_ope_idcola1"); // NOI18N
            jtf_ope_idcola1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_idcola1ActionPerformed(evt);
                }
            });

            jtf_oper_nombre1.setEditable(false);
            jtf_oper_nombre1.setName("jtf_oper_nombre1"); // NOI18N
            jtf_oper_nombre1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_oper_nombre1ActionPerformed(evt);
                }
            });

            jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
            jLabel8.setName("jLabel8"); // NOI18N

            jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
            jLabel15.setName("jLabel15"); // NOI18N

            jtf_ope_telefono1.setEditable(false);
            jtf_ope_telefono1.setName("jtf_ope_telefono1"); // NOI18N
            jtf_ope_telefono1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_telefono1ActionPerformed(evt);
                }
            });

            jtf_ope_observacion1.setToolTipText(resourceMap.getString("jtf_ope_observacion1.toolTipText")); // NOI18N
            jtf_ope_observacion1.setName("jtf_ope_observacion1"); // NOI18N
            jtf_ope_observacion1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_observacion1ActionPerformed(evt);
                }
            });

            jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
            jLabel18.setName("jLabel18"); // NOI18N

            jbtn_ope_guardar1.setIcon(resourceMap.getIcon("jbtn_ope_guardar1.icon")); // NOI18N
            jbtn_ope_guardar1.setText(resourceMap.getString("jbtn_ope_guardar1.text")); // NOI18N
            jbtn_ope_guardar1.setName("jbtn_ope_guardar1"); // NOI18N
            jbtn_ope_guardar1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jbtn_ope_guardar1ActionPerformed(evt);
                }
            });

            jcmbx_ope_diavisita1.setName("jcmbx_ope_diavisita1"); // NOI18N
            jcmbx_ope_diavisita1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jcmbx_ope_diavisita1ActionPerformed(evt);
                }
            });

            jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
            jLabel20.setName("jLabel20"); // NOI18N

            jTextField1.setText(resourceMap.getString("jTextField1.text")); // NOI18N
            jTextField1.setName("jTextField1"); // NOI18N
            jTextField1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTextField1ActionPerformed(evt);
                }
            });

            jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
            jLabel9.setName("jLabel9"); // NOI18N

            jbtn_idbusca.setIcon(resourceMap.getIcon("jbtn_idbusca.icon")); // NOI18N
            jbtn_idbusca.setText(resourceMap.getString("jbtn_idbusca.text")); // NOI18N
            jbtn_idbusca.setName("jbtn_idbusca"); // NOI18N
            jbtn_idbusca.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jbtn_idbuscaActionPerformed(evt);
                }
            });

            jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
            jLabel10.setName("jLabel10"); // NOI18N

            jPasswordField1.setText(resourceMap.getString("jPasswordField1.text")); // NOI18N
            jPasswordField1.setName("jPasswordField1"); // NOI18N
            jPasswordField1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jPasswordField1ActionPerformed(evt);
                }
            });

            jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
            jLabel17.setName("jLabel17"); // NOI18N

            jPasswordField2.setName("jPasswordField2"); // NOI18N
            jPasswordField2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jPasswordField2ActionPerformed(evt);
                }
            });

            jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
            jLabel19.setName("jLabel19"); // NOI18N

            jtf_ope_telefono2.setEditable(false);
            jtf_ope_telefono2.setName("jtf_ope_telefono2"); // NOI18N
            jtf_ope_telefono2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_telefono2ActionPerformed(evt);
                }
            });

            jtf_ope_observacion2.setEditable(false);
            jtf_ope_observacion2.setToolTipText(resourceMap.getString("jtf_ope_observacion2.toolTipText")); // NOI18N
            jtf_ope_observacion2.setName("jtf_ope_observacion2"); // NOI18N
            jtf_ope_observacion2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_observacion2ActionPerformed(evt);
                }
            });

            jtf_ope_observacion3.setEditable(false);
            jtf_ope_observacion3.setToolTipText(resourceMap.getString("jtf_ope_observacion3.toolTipText")); // NOI18N
            jtf_ope_observacion3.setName("jtf_ope_observacion3"); // NOI18N
            jtf_ope_observacion3.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jtf_ope_observacion3ActionPerformed(evt);
                }
            });

            jLabel26.setText(resourceMap.getString("jLabel26.text")); // NOI18N
            jLabel26.setName("jLabel26"); // NOI18N

            jcbx_tiendas.setToolTipText(resourceMap.getString("jcbx_tiendas.toolTipText")); // NOI18N
            jcbx_tiendas.setName("jcbx_tiendas"); // NOI18N
            jcbx_tiendas.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jcbx_tiendasActionPerformed(evt);
                }
            });

            javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
            jPanel13.setLayout(jPanel13Layout);
            jPanel13Layout.setHorizontalGroup(
                jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel13Layout.createSequentialGroup()
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jPanel13Layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jtf_oper_nombre1, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel13Layout.createSequentialGroup()
                                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel13Layout.createSequentialGroup()
                                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(jPanel13Layout.createSequentialGroup()
                                                .addComponent(jLabel7)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(jtf_ope_idcola1, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(18, 18, 18)
                                                .addComponent(jLabel10))
                                            .addGroup(jPanel13Layout.createSequentialGroup()
                                                .addComponent(jLabel9)
                                                .addGap(18, 18, 18)
                                                .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(jbtn_idbusca)))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                                    .addGroup(jPanel13Layout.createSequentialGroup()
                                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel13Layout.createSequentialGroup()
                                                .addComponent(jLabel20)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(jcmbx_ope_diavisita1, 0, 162, Short.MAX_VALUE))
                                            .addGroup(jPanel13Layout.createSequentialGroup()
                                                .addComponent(jLabel15)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(jtf_ope_telefono1)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(jtf_ope_observacion2, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                        .addGap(30, 30, 30)))
                                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel13Layout.createSequentialGroup()
                                        .addComponent(jLabel19)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jtf_ope_telefono2, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jtf_ope_observacion3, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(jPanel13Layout.createSequentialGroup()
                                        .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jLabel17)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jPasswordField2, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(jbtn_ope_guardar1))))
                        .addGroup(jPanel13Layout.createSequentialGroup()
                            .addComponent(jLabel18)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jtf_ope_observacion1, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jLabel26)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jcbx_tiendas, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            );
            jPanel13Layout.setVerticalGroup(
                jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel13Layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel9)
                        .addComponent(jbtn_idbusca))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jtf_oper_nombre1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel8))
                    .addGap(13, 13, 13)
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel7)
                        .addComponent(jtf_ope_idcola1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel10)
                        .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel17)
                        .addComponent(jPasswordField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel18)
                        .addComponent(jtf_ope_observacion1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel26)
                        .addComponent(jcbx_tiendas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 33, Short.MAX_VALUE)
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel15)
                        .addComponent(jtf_ope_telefono1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jtf_ope_observacion2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel19)
                        .addComponent(jtf_ope_telefono2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jtf_ope_observacion3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(29, 29, 29)
                    .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel20)
                        .addComponent(jcmbx_ope_diavisita1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jbtn_ope_guardar1))
                    .addContainerGap())
            );

            javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
            jPanel3.setLayout(jPanel3Layout);
            jPanel3Layout.setHorizontalGroup(
                jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addComponent(jPanel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(430, Short.MAX_VALUE))
            );
            jPanel3Layout.setVerticalGroup(
                jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(166, Short.MAX_VALUE))
            );

            jTabbedPane1.addTab(resourceMap.getString("jPanel3.TabConstraints.tabTitle"), jPanel3); // NOI18N

            jMenuBar1.setName("jMenuBar1"); // NOI18N

            jMenu1.setText(resourceMap.getString("jMenu1.text")); // NOI18N
            jMenu1.setName("jMenu1"); // NOI18N

            jmni_salir.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.ALT_MASK));
            jmni_salir.setIcon(resourceMap.getIcon("jmni_salir.icon")); // NOI18N
            jmni_salir.setText(resourceMap.getString("jmni_salir.text")); // NOI18N
            jmni_salir.setName("jmni_salir"); // NOI18N
            jmni_salir.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jmni_salirActionPerformed(evt);
                }
            });
            jMenu1.add(jmni_salir);

            jMenuBar1.add(jMenu1);

            jMenu2.setText(resourceMap.getString("jMenu2.text")); // NOI18N
            jMenu2.setName("jMenu2"); // NOI18N

            jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0));
            jMenuItem2.setText(resourceMap.getString("jMenuItem2.text")); // NOI18N
            jMenuItem2.setName("jMenuItem2"); // NOI18N
            jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jMenuItem2ActionPerformed(evt);
                }
            });
            jMenu2.add(jMenuItem2);

            jMenuBar1.add(jMenu2);

            setJMenuBar(jMenuBar1);

            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 1038, Short.MAX_VALUE)
            );
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jTabbedPane1)
            );

            pack();
        }// </editor-fold>//GEN-END:initComponents

    private void jtf_oper_nombreActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_oper_nombreActionPerformed
        // TODO add your handling code here:
        //this.jtf_ope_direc.requestFocus();
}//GEN-LAST:event_jtf_oper_nombreActionPerformed

    private void jtf_ope_observacionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_observacionActionPerformed
        // TODO add your handling code here:

}//GEN-LAST:event_jtf_ope_observacionActionPerformed

    private void jbtn_ope_guardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_ope_guardarActionPerformed
        // TODO add your handling code here:
        if(JOptionPane.showConfirmDialog(null, "<html><h2><b>Desea Actualizar?<br>Usuario:"+this.jtf_ope_idcola.getText()+"</b></h2></html>")==0)
                    {
                    int resp=0;
                    String arreglo_diavisita[]=this.jcmbx_ope_diavisita.getSelectedItem().toString().split(":");
                    String textosql="select * from x1usuarios_operaciones(2,'"+this.jtf_ope_idcola.getText()+"','','','"+this.jtf_ope_iddepart.getText()+"','','"+this.jtf_ope_observacion.getText().toUpperCase().trim()+"','"+arreglo_diavisita[0]+"','"+this.jtf_ope_idtienda.getText()+"','','')";
                    System.out.println(textosql);
                    try {
                        rs=x.sieuno_executediversosv2(textosql,variables_global.getconexiongral());
                        while (rs.next())
                            {
                                if (rs.getInt(1) > 0)
                                    {
                                        resp=rs.getInt(1);

                                    }
                            }
                        }catch(Exception e)
                            {
                                System.out.println(e.getMessage());
                                JOptionPane.showMessageDialog(null," Verifique los datos", "Sistema Integral Admin. Usuarios: Error",1);
                            }

                            if (resp==1)
                                {
                                    JOptionPane.showMessageDialog(null,"Usuario :"+this.jtf_ope_idcola1.getText()+" Creado Correctamente!! ","Ayuda",1);

                                }
                            if (resp==2)
                                {
                                    JOptionPane.showMessageDialog(null,"Usuario ya existe:"+this.jtf_ope_idcola1.getText(),"Verifica Identificacion : Ayuda",1);

                                }
                        }
}//GEN-LAST:event_jbtn_ope_guardarActionPerformed

    private void jcmbx_ope_diavisitaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_ope_diavisitaActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jcmbx_ope_diavisitaActionPerformed

    private void jtf_oper_nombre1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_oper_nombre1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_oper_nombre1ActionPerformed

    private void jbtn_ope_guardar1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_ope_guardar1ActionPerformed
        // TODO add your handling code here:
        if(this.jPasswordField1.getText().length()>4)
        {

            String texto=this.jPasswordField1.getText().toString();
            String texto2=this.jPasswordField2.getText().toString();
            int resp=0;
            if(texto.equals(texto2))
                {
                            // TODO add your handling code here:
                if(JOptionPane.showConfirmDialog(null, "Estan estan Correcto sus Datos?")==0)
                    {
                    String arreglo_diavisita[]=this.jcmbx_ope_diavisita1.getSelectedItem().toString().split(":");
                    String arreglo_tie[]=this.jcmbx_ope_diavisita1.getSelectedItem().toString().split(":");
                    String textosql="select * from x1usuarios_operaciones(1,'"+this.jtf_ope_idcola1.getText()+"','"+this.jtf_oper_nombre1.getText().trim().toUpperCase()+"','"+this.jPasswordField1.getText().trim()+"','"+this.jtf_ope_telefono2.getText()+"','1','"+this.jtf_ope_observacion.getText().toUpperCase().trim()+"','"+arreglo_diavisita[0]+"','"+arreglo_tie[0]+"','"+this.jTextField1.getText().trim().toUpperCase()+"','')";
                    System.out.println(textosql);
                    try {
                        rs=x.sieuno_executediversosv2(textosql,variables_global.getconexiongral());
                        while (rs.next())
                            {
                                if (rs.getInt(1) > 0)
                                    {
                                        resp=rs.getInt(1);

                                    }
                            }
                        }catch(Exception e)
                            {
                                System.out.println(e.getMessage());
                                JOptionPane.showMessageDialog(null," Verifique los datos", "Sistema Integral Admin. Usuarios: Error",1);
                            }

                            if (resp==1)
                                {
                                    JOptionPane.showMessageDialog(null,"Usuario :"+this.jtf_ope_idcola1.getText()+" Creado Correctamente!! ","Ayuda",1);

                                }
                            if (resp==2)
                                {
                                    JOptionPane.showMessageDialog(null,"Usuario ya existe:"+this.jtf_ope_idcola1.getText(),"Verifica Identificacion : Ayuda",1);

                                }
                        }
                }
            else
                {
                    JOptionPane.showMessageDialog(null,"Su contraseña no Coincide, por favor Teclee nuevamente", "Sistema Integral(Modificar articulo) : Ayuda",1);
                }
        }
        else
        {
                    JOptionPane.showMessageDialog(null,"Su contraseña es muy corta, por favor que sea mayor de 4 caracteres e incluya simbolos como *-% etc.", "Sistema Integral(Modificar articulo) : Ayuda",1);
        }
    }//GEN-LAST:event_jbtn_ope_guardar1ActionPerformed

    private void jcmbx_ope_diavisita1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_ope_diavisita1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jcmbx_ope_diavisita1ActionPerformed

    private void jtf_ope_observacion1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_observacion1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jtf_ope_observacion1ActionPerformed

    private void jtf_ope_telefono1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_telefono1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jtf_ope_telefono1ActionPerformed

    private void jtf_ope_telefono2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_telefono2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_ope_telefono2ActionPerformed

    private void jtf_ope_observacion2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_observacion2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_ope_observacion2ActionPerformed

    private void jtf_ope_observacion3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_observacion3ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_ope_observacion3ActionPerformed

    private void jbtn_idbuscaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_idbuscaActionPerformed
        // TODO add your handling code here:
        if(this.jTextField1.getText().length()>0)
            {
                this.carga_datos_empleadoform(3, this.jTextField1.getText().trim());
            }

}//GEN-LAST:event_jbtn_idbuscaActionPerformed

    private void jcbx_tiendasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcbx_tiendasActionPerformed
        // TODO add your handling code here:
        if (controlcombo > 0 ) {
            String arreglo_idtie[]=null;
            arreglo_idtie=this.jcbx_tiendas.getSelectedItem().toString().split(":");
            this.jtf_ope_telefono1.setText(arreglo_idtie[0]);
            this.jtf_ope_observacion2.setText(arreglo_idtie[1]);

        }

        //this.jtfpruebados.setText(jtable_tiendas.getValueAt(indeceta, 0).toString());
}//GEN-LAST:event_jcbx_tiendasActionPerformed

    private void jPasswordField2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPasswordField2ActionPerformed
        // TODO add your handling code here:
        this.jtf_ope_observacion1.selectAll();
        this.jtf_ope_observacion1.requestFocus();
    }//GEN-LAST:event_jPasswordField2ActionPerformed

    private void jPasswordField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPasswordField1ActionPerformed
        // TODO add your handling code here:
        this.jPasswordField2.selectAll();
        this.jPasswordField2.requestFocus();
    }//GEN-LAST:event_jPasswordField1ActionPerformed

    private void jtf_ope_idcola1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_idcola1ActionPerformed
        // TODO add your handling code here:
        this.jPasswordField1.selectAll();
        this.jPasswordField1.requestFocus();
    }//GEN-LAST:event_jtf_ope_idcola1ActionPerformed

    private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
        // TODO add your handling code here:
        this.jbtn_idbuscaActionPerformed(evt);
        this.jtf_ope_idcola1.selectAll();
        this.jtf_ope_idcola1.requestFocus();
    }//GEN-LAST:event_jTextField1ActionPerformed

    private void jcmbx_departamentoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_departamentoActionPerformed
        // TODO add your handling code here:
        if(controlcombo>0)
            {
                 String arreglo_depa[]=this.jcmbx_departamento.getSelectedItem().toString().split(":");
                this.carga_datos_usuarios(1, arreglo_depa[0]);
            }
    }//GEN-LAST:event_jcmbx_departamentoActionPerformed

    private void jbtn_ope_guardar2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_ope_guardar2ActionPerformed
        // TODO add your handling code here:
         if(JOptionPane.showConfirmDialog(null, "Desea dar de Baja?")==0)
                    {
                    int resp=0;

                    String textosql="select * from x1usuarios_operaciones(3,'"+this.jtf_ope_idcola.getText()+"','','','','','','','','','')";
                    System.out.println(textosql);
                    try {
                        rs=x.sieuno_executediversosv2(textosql,variables_global.getconexiongral());
                        while (rs.next())
                            {
                                if (rs.getInt(1) > 0)
                                    {
                                        resp=rs.getInt(1);

                                    }
                            }
                        }catch(Exception e)
                            {
                                System.out.println(e.getMessage());
                                JOptionPane.showMessageDialog(null," Verifique los datos", "Sistema Integral Admin. Usuarios: Error",1);
                            }

                            if (resp==1)
                                {
                                    JOptionPane.showMessageDialog(null,"Usuario :"+this.jtf_ope_idcola.getText()+" DADO DE BAJA!! ","Ayuda",1);

                                }

                        }
    }//GEN-LAST:event_jbtn_ope_guardar2ActionPerformed

    private void jcbx_tiendas1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcbx_tiendas1ActionPerformed
        // TODO add your handling code here:
        if (controlcombo > 0 )
            {
            String arreglo_idtie[]=null;
            arreglo_idtie=this.jcbx_tiendas1.getSelectedItem().toString().split(":");
            this.jtf_ope_idtienda.setText(arreglo_idtie[0]);
            this.jtf_ope_observacion4.setText(arreglo_idtie[1]);
            }
    }//GEN-LAST:event_jcbx_tiendas1ActionPerformed

    private void jtf_ope_idtiendaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_idtiendaActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jtf_ope_idtiendaActionPerformed

    private void jtf_ope_observacion4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_observacion4ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_ope_observacion4ActionPerformed

    private void jtf_ope_iddepartActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_iddepartActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jtf_ope_iddepartActionPerformed

    private void jtf_ope_observacion5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtf_ope_observacion5ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtf_ope_observacion5ActionPerformed

    private void jcmbx_departamento1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcmbx_departamento1ActionPerformed
        // TODO add your handling code here:
         if(controlcombo>0)
            {
                 String arreglo_depa[]=this.jcmbx_departamento1.getSelectedItem().toString().split(":");
                this.jtf_ope_iddepart.setText(arreglo_depa[0]);
                this.jtf_ope_observacion5.setText(arreglo_depa[1]);
            }
    }//GEN-LAST:event_jcmbx_departamento1ActionPerformed

    private void jmni_salirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jmni_salirActionPerformed
        // TODO add your handling code here:
         if(JOptionPane.showConfirmDialog(null, "Desea Salir?")==0)
                {
                    this.dispose();
                }
}//GEN-LAST:event_jmni_salirActionPerformed

    private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem2ActionPerformed
        // TODO add your handling code here:
        this.jmni_salirActionPerformed(evt);
    }//GEN-LAST:event_jMenuItem2ActionPerformed

    private void jbtn_ope_guardar3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn_ope_guardar3ActionPerformed
        // TODO add your handling code here:
               if(JOptionPane.showConfirmDialog(null, "Desea Activar Usuario")==0)
                    {
                    int resp=0;

                    String textosql="select * from x1usuarios_operaciones(4,'"+this.jtf_ope_idcola.getText()+"','','','','','','','','','')";
                    System.out.println(textosql);
                    try {
                        rs=x.sieuno_executediversosv2(textosql,variables_global.getconexiongral());
                        while (rs.next())
                            {
                                if (rs.getInt(1) > 0)
                                    {
                                        resp=rs.getInt(1);

                                    }
                            }
                        }catch(Exception e)
                            {
                                System.out.println(e.getMessage());
                                JOptionPane.showMessageDialog(null," Verifique los datos", "Sistema Integral Admin. Usuarios: Error",1);
                            }

                            if (resp==1)
                                {
                                    JOptionPane.showMessageDialog(null,"Usuario :"+this.jtf_ope_idcola.getText()+" Activado ","Ayuda",1);

                                }

                        }
    }//GEN-LAST:event_jbtn_ope_guardar3ActionPerformed
private void jtb_colaboradores_catalogoMouseClicked(java.awt.event.MouseEvent evt) {
        // TODO add your handling code here:
    }
    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Sie_invdis_usuariosadmin().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPasswordField jPasswordField1;
    private javax.swing.JPasswordField jPasswordField2;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JButton jbtn_idbusca;
    private javax.swing.JButton jbtn_ope_guardar;
    private javax.swing.JButton jbtn_ope_guardar1;
    private javax.swing.JButton jbtn_ope_guardar2;
    private javax.swing.JButton jbtn_ope_guardar3;
    private javax.swing.JComboBox jcbx_tiendas;
    private javax.swing.JComboBox jcbx_tiendas1;
    private javax.swing.JComboBox jcmbx_departamento;
    private javax.swing.JComboBox jcmbx_departamento1;
    private javax.swing.JComboBox jcmbx_ope_diavisita;
    private javax.swing.JComboBox jcmbx_ope_diavisita1;
    private com.toedter.calendar.JDateChooser jdc_ope_fechaingreso;
    private javax.swing.JMenuItem jmni_salir;
    private javax.swing.JTable jtb_colaboradores_catalogo;
    private javax.swing.JTextField jtf_ope_idcola;
    private javax.swing.JTextField jtf_ope_idcola1;
    private javax.swing.JTextField jtf_ope_iddepart;
    private javax.swing.JTextField jtf_ope_idtienda;
    private javax.swing.JTextField jtf_ope_observacion;
    private javax.swing.JTextField jtf_ope_observacion1;
    private javax.swing.JTextField jtf_ope_observacion2;
    private javax.swing.JTextField jtf_ope_observacion3;
    private javax.swing.JTextField jtf_ope_observacion4;
    private javax.swing.JTextField jtf_ope_observacion5;
    private javax.swing.JTextField jtf_ope_telefono1;
    private javax.swing.JTextField jtf_ope_telefono2;
    private javax.swing.JTextField jtf_oper_nombre;
    private javax.swing.JTextField jtf_oper_nombre1;
    // End of variables declaration//GEN-END:variables

}
